3.116 \(\int \frac{1}{x \left (a+b x^3\right ) \left (c+d x^3\right )} \, dx\)

Optimal. Leaf size=62 \[ -\frac{b \log \left (a+b x^3\right )}{3 a (b c-a d)}+\frac{d \log \left (c+d x^3\right )}{3 c (b c-a d)}+\frac{\log (x)}{a c} \]

[Out]

Log[x]/(a*c) - (b*Log[a + b*x^3])/(3*a*(b*c - a*d)) + (d*Log[c + d*x^3])/(3*c*(b
*c - a*d))

_______________________________________________________________________________________

Rubi [A]  time = 0.171639, antiderivative size = 62, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091 \[ -\frac{b \log \left (a+b x^3\right )}{3 a (b c-a d)}+\frac{d \log \left (c+d x^3\right )}{3 c (b c-a d)}+\frac{\log (x)}{a c} \]

Antiderivative was successfully verified.

[In]  Int[1/(x*(a + b*x^3)*(c + d*x^3)),x]

[Out]

Log[x]/(a*c) - (b*Log[a + b*x^3])/(3*a*(b*c - a*d)) + (d*Log[c + d*x^3])/(3*c*(b
*c - a*d))

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 23.2207, size = 49, normalized size = 0.79 \[ - \frac{d \log{\left (c + d x^{3} \right )}}{3 c \left (a d - b c\right )} + \frac{b \log{\left (a + b x^{3} \right )}}{3 a \left (a d - b c\right )} + \frac{\log{\left (x^{3} \right )}}{3 a c} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(1/x/(b*x**3+a)/(d*x**3+c),x)

[Out]

-d*log(c + d*x**3)/(3*c*(a*d - b*c)) + b*log(a + b*x**3)/(3*a*(a*d - b*c)) + log
(x**3)/(3*a*c)

_______________________________________________________________________________________

Mathematica [A]  time = 0.0555116, size = 54, normalized size = 0.87 \[ \frac{-b c \log \left (a+b x^3\right )+a d \log \left (c+d x^3\right )-3 a d \log (x)+3 b c \log (x)}{3 a b c^2-3 a^2 c d} \]

Antiderivative was successfully verified.

[In]  Integrate[1/(x*(a + b*x^3)*(c + d*x^3)),x]

[Out]

(3*b*c*Log[x] - 3*a*d*Log[x] - b*c*Log[a + b*x^3] + a*d*Log[c + d*x^3])/(3*a*b*c
^2 - 3*a^2*c*d)

_______________________________________________________________________________________

Maple [A]  time = 0.013, size = 59, normalized size = 1. \[{\frac{\ln \left ( x \right ) }{ac}}+{\frac{b\ln \left ( b{x}^{3}+a \right ) }{3\,a \left ( ad-bc \right ) }}-{\frac{d\ln \left ( d{x}^{3}+c \right ) }{3\,c \left ( ad-bc \right ) }} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(1/x/(b*x^3+a)/(d*x^3+c),x)

[Out]

ln(x)/a/c+1/3*b/a/(a*d-b*c)*ln(b*x^3+a)-1/3*d/c/(a*d-b*c)*ln(d*x^3+c)

_______________________________________________________________________________________

Maxima [A]  time = 1.38134, size = 82, normalized size = 1.32 \[ -\frac{b \log \left (b x^{3} + a\right )}{3 \,{\left (a b c - a^{2} d\right )}} + \frac{d \log \left (d x^{3} + c\right )}{3 \,{\left (b c^{2} - a c d\right )}} + \frac{\log \left (x^{3}\right )}{3 \, a c} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/((b*x^3 + a)*(d*x^3 + c)*x),x, algorithm="maxima")

[Out]

-1/3*b*log(b*x^3 + a)/(a*b*c - a^2*d) + 1/3*d*log(d*x^3 + c)/(b*c^2 - a*c*d) + 1
/3*log(x^3)/(a*c)

_______________________________________________________________________________________

Fricas [A]  time = 0.550342, size = 73, normalized size = 1.18 \[ -\frac{b c \log \left (b x^{3} + a\right ) - a d \log \left (d x^{3} + c\right ) - 3 \,{\left (b c - a d\right )} \log \left (x\right )}{3 \,{\left (a b c^{2} - a^{2} c d\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/((b*x^3 + a)*(d*x^3 + c)*x),x, algorithm="fricas")

[Out]

-1/3*(b*c*log(b*x^3 + a) - a*d*log(d*x^3 + c) - 3*(b*c - a*d)*log(x))/(a*b*c^2 -
 a^2*c*d)

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/x/(b*x**3+a)/(d*x**3+c),x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [F(-2)]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: NotImplementedError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/((b*x^3 + a)*(d*x^3 + c)*x),x, algorithm="giac")

[Out]

Exception raised: NotImplementedError